<template>
	<view>
		<button @click="onLog()">Console.log</button>
		<button @click="onDebug()">Console.debug</button>
		<button @click="onInfo()">Console.info</button>
		<button @click="onWarn()">Console.warn</button>
		<button @click="onError()">Console.error</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				name:'FQM'
			}
		},
		methods: {
			onLog(){
				// 快捷方式:clog+Enter
				console.log("onLog()--> name"+this.name) 
			},
			onDebug(){
				console.debug("onDebug")
			},
			onInfo(){
				console.info("onInfo")
			},
			onWarn(){
				console.warn("onWarn")
			},
			onError(){
				console.error("onError")
			}
			
		}
	}
</script>

<style>
	button{
		margin: 30rpx;
	}
</style>
